Adwaita: Fix 'add color' button corners
authorMatthias Clasen <mclasen@redhat.com>
Wed, 1 May 2019 17:18:39 +0000 (17:18 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 May 2019 17:18:39 +0000 (17:18 +0000)
The specification for border-radius goes
top-left top-right bottom-right bottom-left.
The css for the add button in the color
chooser got this wrong, and was showing
a broken top-right corner.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1856
gtk/theme/Adwaita/_common.scss

index 6628a901004f202eeb14bfb1522d6b7c327f4a27..1faadd14a3a18fcef4ef611e22dc606107a91eb0 100644 (file)
@@ -4342,7 +4342,7 @@ colorswatch {
   }
 
   &#add-color-button {
-    border-radius: $_colorswatch_radius $_colorswatch_radius 0 0;
+    border-radius: $_colorswatch_radius 0 0 $_colorswatch_radius;
 
     &:only-child { border-radius: $_colorswatch_radius; }